package com.mall.coupon.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.mall.common.page.PageData;
import com.mall.common.service.CrudService;
import com.mall.coupon.dto.SeckillSkuRelationDTO;
import com.mall.coupon.entity.SeckillSkuRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 秒杀活动商品关联
 *
 * @author xjc xjc@163.com
 * @since 1.0.0 2022-07-17
 */
public interface SeckillSkuRelationService extends CrudService<SeckillSkuRelationEntity, SeckillSkuRelationDTO> {

    PageData<SeckillSkuRelationDTO> listProductByParam(Map<String, Object> params);

    List<SeckillSkuRelationEntity> listByWapper(QueryWrapper<SeckillSkuRelationEntity> wrapper);
}